﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ServiceInterfaces.DataContracts
{
    [DataContract]
    public class WorkOrderFlowListInfo
    {

        /// <summary>
        /// 节点名称
        /// </summary>
        [DataMember]
        public string TechName { get; set; }//

        /// <summary>
        /// 是否必要节点
        /// </summary>
        [DataMember]
        public bool IsNecessery { get; set; }//

        /// <summary>
        /// 操作员ID
        /// </summary>
        [DataMember]
        public int UserId { get; set; }

        /// <summary>
        /// 操作员名称
        /// </summary>
        [DataMember]
        public string UserName { get; set; }//

        /// <summary>
        /// 是否经过该节点
        /// </summary>
        [DataMember]
        public bool IsUsefull { get; set; }//

        /// <summary>
        /// 节点类型
        /// </summary>
        [DataMember]
        public int Techtype { get; set; } //

        /// <summary>
        /// 是否设计节点
        /// </summary>
        [DataMember]
        public bool IsDesign { get; set; }//

        /// <summary>
        /// 节点完成所需时间
        /// </summary>
        [DataMember]
        public double TechTime { get; set; }//

        /// <summary>
        /// 任务分配时间
        /// </summary>
        [DataMember]
        public DateTime AssignTime { get; set; }

        /// <summary>
        /// 任务完成时间
        /// </summary>
        [DataMember]
        public DateTime CompletedTime { get; set; }

        /// <summary>
        /// 是否能编辑
        /// </summary>
        [DataMember]
        public bool IsEdit { get; set; }

        /// <summary>
        /// 任务接受时间
        /// </summary>
        [DataMember]
        public DateTime ReceiveTime { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        [DataMember]
        public int Status { get; set; }

        /// <summary>
        /// 流程ID
        /// </summary>
        [DataMember]
        public int TechId { get; set; }

        /// <summary>
        /// 流程顺序
        /// </summary>
        [DataMember]
        public int WorkOrder { get; set; }


        [DataMember]
        public int  OrderProductId {get;set;}


        [DataMember]
        public int WorkFlowListId { get; set; }
    }
}
